//
//  CustomDetailTextModel.m
//  NBTripe
//
//  Created by Lee on 16/1/12.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import "CustomDetailTextModel.h"


@implementation CustomDetailTextModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
//    if ([key isEqualToString:@"waypoints"]) {
//        NSArray *array = value;
//        NSMutableArray *mutablearr = [[NSMutableArray alloc] initWithCapacity:0];
//        for (NSDictionary *dic in array) {
//            self.waypointmodel = [[CustomDaysWayPointsModel alloc] initWithDataSource:dic];
//            [mutablearr addObject:self.waypointmodel];
//        }
//        self.waypointarr = [NSArray arrayWithArray:mutablearr];
//    }
    if ([key isEqualToString:@"day"])
        self.detailday = value;
    if ([key isEqualToString:@"date"]) {
        self.detaildate = value;
    }
}

@end


